import {request} from "@/utils/request";
import type {ResponseData} from "../type.ts";

function getCurrentUsername(): Promise<ResponseData<string>>{
    return request.get('/user/getUsername');
}

export {
    getCurrentUsername
}